import request from './request'

export function queryParams () {
  return request({
    url: '/activity/testComputePage.do',
    method: 'GET',
    params: {}
  })
}

export function compute ({birthday_today, birthday_week, birthday_month, open_date, txn_date, txn_time, channel, txn_bank, trade_bank, first_bind, dizhii, mcc_code, mcth_no, sex, education, card_medium, card_nature, card_type, marital_status, certtp, cust_type, acct_type, card_no, front_cust, txn_type, crcycd, product_type, first_flag, txn_amt, txn_cnt, period}) {
  return request({
    url: '/activity/testCompute.do',
    method: 'POST',
    body: {birthday_today, birthday_week, birthday_month, open_date, txn_date, txn_time, channel, txn_bank, trade_bank, first_bind, dizhii, mcc_code, mcth_no, sex, education, card_medium, card_nature, card_type, marital_status, certtp, cust_type, acct_type, card_no, front_cust, txn_type, crcycd, product_type, first_flag, txn_amt, txn_cnt, period}
  })
}
